package com.heima.service.iml;


import com.heima.mapper.LoginMapper;
import com.heima.poji.Emp;
import com.heima.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class LoginServiceImp implements LoginService {
    @Autowired
    private LoginMapper loginMapper;
    @Override
    public Emp loginByName(Emp emp) {
         return loginMapper.loginByName(emp);
    }
}
